lib/commit: Make size entries for existing objects
authorDan Nicholson <nicholson@endlessm.com>
Wed, 23 Oct 2019 15:28:11 +0000 (09:28 -0600)
committerDan Nicholson <nicholson@endlessm.com>
Tue, 21 Jan 2020 03:42:27 +0000 (20:42 -0700)
commit44fb5e72a1496d42ff500926a99dbe4c6cb44da6
tree666387fcd0c689a3341e273518518246268097f0
parent8ec7d6322fe004a93a1b391c279020c5411996c0
lib/commit: Make size entries for existing objects

If the object was already in the repo then the sizes metadata entry was
skipped. Move the sizes entry creation after the data has been computed
but before the early return for an existing object.
src/libostree/ostree-repo-commit.c